package com.tj.shopping.entity;

import java.io.Serializable;

/**
 * (Goodsdetail)实体类
 *  商品详情表
 * @author makejava
 * @since 2023-12-18 20:09:48
 */
public class Goodsdetail implements Serializable {
    private static final long serialVersionUID = 564052482222464966L;

    private Integer gdno;//商品详情编号

    private Integer gno;//商品编号

    private String version;//型号

    private String color;//颜色

    private String size;//大小尺寸

    private Float gdprice;//价格

    private Integer num;//数量

    private String temp01;

    public Integer getGdno() {
        return gdno;
    }

    public void setGdno(Integer gdno) {
        this.gdno = gdno;
    }

    public Integer getGno() {
        return gno;
    }

    public void setGno(Integer gno) {
        this.gno = gno;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public Float getGdprice() {
        return gdprice;
    }

    public void setGdprice(Float gdprice) {
        this.gdprice = gdprice;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getTemp01() {
        return temp01;
    }

    public void setTemp01(String temp01) {
        this.temp01 = temp01;
    }

    public Goodsdetail(Integer gdno, Integer gno,
                       String version, String color, String size, Float gdprice, Integer num, String temp01) {
        this.gdno = gdno;
        this.gno = gno;
        this.version = version;
        this.color = color;
        this.size = size;
        this.gdprice = gdprice;
        this.num = num;
        this.temp01 = temp01;
    }

    public Goodsdetail() {
    }

    @Override
    public String toString() {
        return "Goodsdetail{" +
                "gdno=" + gdno +
                ", gno=" + gno +
                ", version='" + version + '\'' +
                ", color='" + color + '\'' +
                ", size='" + size + '\'' +
                ", gdprice=" + gdprice +
                ", num=" + num +
                ", temp01='" + temp01 + '\'' +
                '}';
    }
}

